package com.empresa.ventas;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        ApplicationContext context= new ClassPathXmlApplicationContext("contexto/Spring.xml");
        String[] beans= context.getBeanDefinitionNames();
        for (String name : beans) {
            System.out.println(name);
        }
    }
}
